package com.accp.demo.pojo.purchase;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class PurchaseOrder implements Serializable {
	/**
	 * 序列
	 */
	  private static final long serialVersionUID = -1542890462168698715L;
	  private String billNo;/*单据号码*/
	  private String billDate;		/*单据日期*/
	  private String createTime;	/*创建日期*/
	  private Integer poState;	/*逻辑状态0删除  1存在*/
	  private String supplierNo;	/*供应商编号*/
	  private String addressNo;	/*供应商地址编号*/
	  private String poDk;//单况111111111111111111111
	  private Integer poTpye;		/*采购订单类型????????*/
	  private Integer ifTax;		/*单价是否含税0含税1未税*/
	  private String  maker;	/*制单人员*/
	  private String  permitter;	/*复核人员*/
	  private String remark;	/*备注*/
	  private Integer auditStatus;	/*审核状态*/
	  private String auditDate;		/*审核时间*/
	  private Set<PurchaseOrderDetail> purchaseOrderDetails=new HashSet<PurchaseOrderDetail>();
	  
	public String getPoDk() {
		return poDk;
	}
	public void setPoDk(String poDk) {
		this.poDk = poDk;
	}
	public String getBillNo() {
		return billNo;
	}
	public void setBillNo(String billNo) {
		this.billNo = billNo;
	}
	public String getBillDate() {
		return billDate;
	}
	public void setBillDate(String billDate) {
		this.billDate = billDate;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public Integer getPoState() {
		return poState;
	}
	public void setPoState(Integer poState) {
		this.poState = poState;
	}
	public String getSupplierNo() {
		return supplierNo;
	}
	public void setSupplierNo(String supplierNo) {
		this.supplierNo = supplierNo;
	}
	public String getAddressNo() {
		return addressNo;
	}
	public void setAddressNo(String addressNo) {
		this.addressNo = addressNo;
	}
	public Integer getPoTpye() {
		return poTpye;
	}
	public void setPoTpye(Integer poTpye) {
		this.poTpye = poTpye;
	}
	public Integer getIfTax() {
		return ifTax;
	}
	public void setIfTax(Integer ifTax) {
		this.ifTax = ifTax;
	}
	public String getMaker() {
		return maker;
	}
	public void setMaker(String maker) {
		this.maker = maker;
	}
	public String getPermitter() {
		return permitter;
	}
	public void setPermitter(String permitter) {
		this.permitter = permitter;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getAuditStatus() {
		return auditStatus;
	}
	public void setAuditStatus(Integer auditStatus) {
		this.auditStatus = auditStatus;
	}
	public String getAuditDate() {
		return auditDate;
	}
	public void setAuditDate(String auditDate) {
		this.auditDate = auditDate;
	}
	public Set<PurchaseOrderDetail> getPurchaseOrderDetails() {
		return purchaseOrderDetails;
	}
	public void setPurchaseOrderDetails(Set<PurchaseOrderDetail> purchaseOrderDetails) {
		this.purchaseOrderDetails = purchaseOrderDetails;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public PurchaseOrder() {
		super();
		// TODO Auto-generated constructor stub
	}

	public PurchaseOrder(String billNo, String billDate, String createTime, Integer poState, String supplierNo,
			String addressNo, Integer poTpye, Integer ifTax, String maker, String permitter, String remark,
			Integer auditStatus, String auditDate, Set<PurchaseOrderDetail> purchaseOrderDetails) {
		super();
		this.billNo = billNo;
		this.billDate = billDate;
		this.createTime = createTime;
		this.poState = poState;
		this.supplierNo = supplierNo;
		this.addressNo = addressNo;
		this.poTpye = poTpye;
		this.ifTax = ifTax;
		this.maker = maker;
		this.permitter = permitter;
		this.remark = remark;
		this.auditStatus = auditStatus;
		this.auditDate = auditDate;
		this.purchaseOrderDetails = purchaseOrderDetails;
	}
	@Override
	public String toString() {
		return "PurchaseOrder [billNo=" + billNo + ", billDate=" + billDate + ", createTime=" + createTime
				+ ", poState=" + poState + ", supplierNo=" + supplierNo + ", addressNo=" + addressNo + ", poDk=" + poDk
				+ ", poTpye=" + poTpye + ", ifTax=" + ifTax + ", maker=" + maker + ", permitter=" + permitter
				+ ", remark=" + remark + ", auditStatus=" + auditStatus + ", auditDate=" + auditDate
				+ ", purchaseOrderDetails=" + purchaseOrderDetails + "]";
	}

		
}
